package com.heriparid.fragmentinjection.modules;

import android.os.Handler;
import android.os.Looper;

import com.heriparid.fragmentinjection.ui.LoginActivity;
import com.heriparid.fragmentinjection.ui.MainActivity;
import com.heriparid.fragmentinjection.ui.fragments.ItemListFragment;

import dagger.Module;
import dagger.Provides;

@Module(
	injects = {LoginActivity.class, MainActivity.class, ItemListFragment.class},
	complete = false,
	library = true
)
public class ActivityModule {
	
	@Provides
	Handler provideHandler(){
		return new Handler(Looper.getMainLooper());
	}
}
